/*
	Copyright 2012 J. Gohlke
	Licensed under the Apache License, Version 2.0 (the
	"License"); you may not use this file except in
	compliance with the License. You may obtain a copy
	of the License at

	http://www.apache.org/licenses/LICENSE-2.0

	Unless required by applicable law or agreed to in
	writing, software distributed under the License is
	distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
	OR CONDITIONS OF ANY KIND, either express or
	implied. See the License for the specific language
	governing permissions and limitations under the
	License
 */
package com.gohlke.lwo;

/**
 *
 * @author David
 * 
 * The CLIP chunk contains a series of subchunks describing a single, 
 * possibly time-varying image. The first subchunk has to be one of 
 * the source chunks: STIL, ISEQ, ANIM, XREF or STCC.
 */
public enum LightwaveObjectClipChunkId {
    /*
     * Time
     * 
     * Defines source times for an animated clip.
     */
    TIME,
    /*
     * Color Space RGB
     * 
     * Contains the color space of the texture.
     */
    CLRS,
    /*
     * Color Space Alpha
     * 
     * Contains the color space of the texture alpha.
     */
    CLRA,
    /*
     * Image Filtering
     * Contains the index to the current image filtering.
     */
    FILT,
    /*
     * Image Dithering
     * 
     * Contains the index to the current image dithering.
     */
    DITH,
    /*
     * Contrast
     * 
     * RGB levels are altered in proportion to their distance from 0.5.
     * Positive deltas move the levels toward one of the extremes (0.0 or 1.0), 
     * while negative deltas move them toward 0.5. The default is 0.
     * 
     */
    CONT,
    /*
     * Brightness
     * 
     * The delta is added to the RGB levels. The default is 0.
     * 
     */
    BRIT,
    /*
     * Saturation
     * 
     * The saturation of an RGB color is defined as (max - min)/max, 
     * where max and min are the maximum and minimum of the three RGB levels. 
     * This is a measure of the intensity or purity of a color. 
     * Positive deltas turn up the saturation by increasing the max component
     * and decreasing the min one, and negative deltas have the opposite effect.
     * The default is 0.
     * 
     */
    SATR,
    /*
     * The hue of an RGB color.
     * 
     * The levels between 0 and 1 correspond to angles between 0 and 360 degrees.
     * The hue delta rotates the hue. The default is 0.
     */
    HUE,
    /*
     * Gamma Correction
     * 
     * Gamma correction alters the distribution of light and dark in an image
     * by raising the RGB levels to a small power. By convention, the gamma is
     * stored as the inverse of this power. A gamma of 0.0 forces all RGB levels
     * to 0.0. The default is 1.0.
     */
    GAMM,
    /*
     * Negative
     * 
     * If non-zero, the RGB values are inverted, (1.0 - r, 1.0 - g, 1.0 - b),
     * to form a negative of the image.
     */
    NEGA,
    /*
     * Plug-in Image Filters
     * 
     * Plug-in image filters can be used to pre-filter an image before rendering.
     * The filter has to be able to exist outside of the special environment of 
     * rendering in order to work here (it can't depend on functions or data 
     * that are only available during rendering). Filters are given by a server
     * name, an enable flag, and data bytes that belong to the plug-in.
     * 
     */
    IFLT,
    /*
     * Plug-in Pixel Filter
     * 
     * Pixel filters may also be used as clip modifiers, 
     * and they are stored and used in a way that is exactly like image filters.
     * 
     */
    PFLT
}
